home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / packet / autoexec.hrl < prev    next >
Text File  |  1996-06-25  |  8KB  |  219 lines

  1. # HRLNOS set-up-ing
  2. # make sure to have at least the following files setup:
  3. # between (): might be omitted; in CAPITALs: these are directories!
  4. #  /hrlnos.exe           : HRLNOS exe file
  5. #  /autoexec.nos         : HRLNOS setup file (this file)
  6. #  /ftpusers             : with ftp user codes, passwords and directories
  7. #                          see NOS_0618 manual by PA0GRI
  8. #  /domain.txt           : with domain data (name to IP_addr translation)
  9. # (/popusers)            : for pop mailbox access (see pop.doc)
  10. # (/alias)               : for smtp mail aliasing (see bbs.doc)
  11. #  /SPOOL
  12. # (/SPOOL/rewrite)       : for smtp mail re-addressing (see bbs.doc)
  13. # (/SPOOL/forward.bbs)   : for W0RLI-bbs forwarding (see bbs.doc)
  14. # (/SPOOL/areas)         : with public mail areas in in (see bbs.doc)
  15. #  /SPOOL/MQUEUE         : with outgoing mail in it
  16. #  /SPOOL/MAIL           : with mail files in it
  17. #  /SPOOL/HELP           : with 'host.hlp' as BBS welcome text;
  18. #                          <bbs_command>.hlp (eg. area.hlp) for help in BBS
  19. # (/SPOOL/SIGNATUR)      : with files username.sig containing mail signatures
  20. # (/SPOOL/NEWS)          : for use by the NNTP client/server
  21. # (/SPOOL/NEWS/JUNK)     : NNTP junk directory
  22. # (/FINGER)              : with finger files (info), syntax <username.txt>
  23. #
  24. # don't forget to define a public FTP directory!
  25. # Files, directories between brackets are OBGLIGED to be present.
  26. # ATTENTION! All of the directory structure can be configurated dynamically
  27. # with the "set" command or by changing the respective DOS environment
  28. # variables. An example as used by pa3eug:
  29. set tmp=n:\temp
  30. set userfile=n:\
  31. set hostfile=n:\
  32. set maillog=n:\spool
  33. set mailspool=n:\spool\mail
  34. set mailqdir=n:\spool\mqueue
  35. set routeqdir=n:\spool\mqueue
  36. set alias=n:\
  37. set dfile=n:\
  38. set fdir=n:\finger
  39. set arealist=n:\spool
  40. set helpdir=n:\spool\help
  41. set rewritefile=n:\spool
  42. set popusers=n:\
  43. set axroutefile=n:\spool
  44. set arproutefile=n:\spool
  45. set tz=utc-1
  46. set forwardfile=n:\spool
  47. NEVER USE THE AUTOEXEC.HRL AS IT IS!!! FIRST SETUP YOUR PARAMETERS, CALL, ETC!
  48. exit
  49. #
  50. #
  51. # Here are the actual setup commands.
  52. # This was meant to be installed:
  53. # two slip links "sl0" and "sl2" at com1 and com2
  54. # two links from a SCC-card using the PE1CHL driver to the transmitters
  55. # Because I'm not quite common with SCC-cards, I copied the SCC-parameters
  56. # from someone else. They could be incorrect because I couldn't check it!
  57. # Sometimes, the order of commands doen't seem to be too logic. My appolo-
  58. # gied for that, but that's because this file is compiled from my own auto-
  59. # exec-file... I wrote the comments later...
  60. #
  61. # Here we go....
  62. #
  63. # First let's set the 'fix' parameters. These will NEVER change during the
  64. # use of the program. After the attachment of the interfaces you CANNOT change
  65. # hostname, AX25 call and ip address!
  66. domain suffix ampr.org.
  67. hostname pa3eug.ampr.org
  68. ip address [44.137.24.31]
  69. ax25 mycall pa3eug
  70. #
  71. # Now we can define several ports:
  72. attach asy 0x3f8 4 slip sl0 5000 256 2400
  73. attach asy 0x2f8 3 slip sl2 5000 256 2400
  74. attach scc 2 init 150 4 2 0 1 168 2 p4915200
  75. attach scc 0 ax25 144 256 d1200
  76. attach scc 2 ax25 430 256 d1200
  77. #
  78. # If we'd have a KISS-tnc, the attach-commands would be like this:
  79. # attach asy 0x3f8 4 ax25 144 5000 256 4800
  80. # attach asy 0x2f8 3 ax25 430 5000 256 4800
  81. # The first line defines a 4800 bps link to a KISS TNC with interface name 144
  82. # at COM1, the second line does the same for a line named 430 at COM2.
  83. # 16550A-controllers are recognized automatically. Always use the combination
  84. # "0x3f8 4" for COM1 and "0x2f8 3" for COM2.
  85. #
  86. # Now we defined a "way out", we can start several servers. We don't start
  87. # NET/ROM because we don't like it, and because it's not implemented to save
  88. # memory!
  89. start ftp
  90. start telnet
  91. start ttylink
  92. start smtp
  93. start finger
  94. start ax25
  95. start remote
  96. start nntp
  97. start rip
  98. start discard
  99. start echo
  100. start pop
  101. #
  102. # standard, routing goes to the 144 interface, further pa3eug-a goes to sl0
  103. # and pi8tcp to sl2.
  104. # It is NOT necessary to add full routing tables, because if a station onesn
  105. # has connected, the route to him will be remembered, on AX25-level and at
  106. # L3 (route and arp-result). This is done by the WANMPES and tcp/ip
  107. # autorouter.
  108. # For this propose, MINIHRL makes the axroute.dat and arproute.dat files.
  109. # Don't panic if they're not present the first time you run the software...
  110. # ALWAYS USE THE "route addprivate" command instead of just "route add"!
  111. # Private routings will be skipped by the RIP router, if you DON'T the RIP
  112. # network will go crazy because of all routings you SAY you have...
  113. # (route add default doesn't need to be private...)
  114. route add default 144
  115. route addp pa3eug-a.ampr.org sl0
  116. route addp pi8tcp sl2
  117. #
  118. # Whenever a CALL is trying to be connected without mentioning the interface,
  119. # and without having a AX25 ROUTE entry (manual/automatic!), the CALL is
  120. # considered to be at the 144 interface:
  121. ax25 route add default 144
  122. #
  123. # events will be logged by NOS:
  124. log \spool\nos.log
  125. #
  126. # Accept mailbox third-party mail and mbox attended is set OFF.
  127. # One cannot use the "c" command in the mailbox to call the operator.
  128. third on
  129. mb atte off
  130. #
  131. # kiss setup:
  132. # syntax is "param <int> <param> <param> <param> <.....>"
  133. # The first parameter may be a KISS command. Here's a list of KISS commands:
  134. # 1 : TXdelay (n x 10 ms)
  135. # 2 : p-Persistance (256/(n+1))
  136. # 3 : Slottime (n x 10 ms) (intervaltime between two attempts to sent on an
  137. #                           occupied channel)
  138. # 4 : TXtail (n x 10 ms)
  139. # 5 : full duplex on/off  (0=off; 1=on)
  140. # 6 : TNC dependant parameter (e.g. at the DTNC1: param 144 6 37 : set
  141. #                              TNC to 4800 baud output speed)
  142. # 255 : end KISS-mode
  143. param 144 1 6
  144. param 144 2 50
  145. param 144 3 6
  146. param 144 4 2
  147. param 144 5 0
  148. param 430 1 10
  149. param 430 2 50
  150. param 430 3 6
  151. param 430 4 2
  152. param 430 5 0
  153. #
  154. # Now some general set up.
  155. #
  156. # TCP RETRY gives the number of attempts to start a connection before a time
  157. # out is generated. Whenever the (tcp/ip) connection is established, the
  158. # number of retries will be multiplied by 3.
  159. tcp retry 15
  160. #
  161. # attribute changes the status line into color or monochrome. Just try out
  162. # and see what happens....
  163. attr mono
  164. #
  165. # Here's the AX25 ID (broadcast) text. bct = broadcast text and
  166. # bci = broadcast interval
  167. # parameter ax t3disc makes a AX25-connection to be terminated at T3 tick.
  168. # When set to "on", at mailbox login the following tekst will be shown:
  169. # "inactivity time-out xx min." te zien.
  170. ax bct "HRLNOS - PA3EUG"
  171. ax bci 300
  172. ax t3d off
  173. #
  174. # Here's the nntp (network news transfer protocol, poort 119) setup.
  175. # This stands for itself. We ask pi8hrl for NNTP data:
  176. nntp add pi8hrl 900 *
  177. nntp profile fullname "Ram"n Kolb PA3EUG [44.137.24.31]"
  178. nntp profile organ "AMPRNET Netherlands SUBNET East Brabant"
  179. nntp profile reply sysop@pa3eug.ampr.org
  180. nntp profile sig /spool/signatur/sysop.sig
  181. #
  182. # Here's the smtp setup. Smtp timer will be well known. Smtp batch will put
  183. # the HELO, MAIL FROM, RCPT TO and DATA lines in one packet.
  184. smtp batch y
  185. smtp ti 1800
  186. #
  187. # Now some stuff fot the mailbox. Mbox log logs every mailbox user to the
  188. # file /spool/node.log; mbox mota sets the mailbox prompt. Mbox motd
  189. # sets the mailbox message of the day.
  190. mbox log y
  191. mbox mota PA3EUG-HRLNOS v911211-2 <
  192. mbox motd "Enter 'c' for a chat or '?' for a list of commands"
  193. #
  194. # Now set some remote control codes:
  195. remote -s pa3eug
  196. sysop 12345
  197. # Here's the setup of the POP client:
  198. # The mail is waiting at pi8hrl, and pi8hrl has (among others) in his
  199. # /popusers file:
  200. # py0yy:somebody:
  201. # Pop mailhost sets pi8hrl as Post Office, and with mailbox the local mailfile
  202. # is determined. Userdata makes the passwords go okay.
  203. # (at pi8hrl the mailfile to be read is  /spool/mail/py0yy.txt)
  204. pop mailhost pi8hrl
  205. pop mailbox sysop
  206. pop userdata py0yy somebody
  207. #
  208. # At last we make pi8hrl to be a domain server, and RIP routing goes to
  209. # pi8hrl. After 5 minutes, we give up hope to reach the domain server...
  210. dom ad pa3eug
  211. dom tim 300
  212. rip ad pa3eug 450
  213. # This should be sufficient. Many mare things can be set up, but most of the
  214. # parameters are okay of-their-own.
  215. # Have a good luck, and send any questions/remarks to:
  216. # ramon@blade.stack.urc.tue.nl OR pa3eug@pi8hrl.ampr.org OR
  217. # PA3EUG @ ON4UBO.BLG.EU                                    ---73's, Ramon.
  218.